Dynomotion

Group: DynoMotion Message: 12721 From: daveymahomh600e Date: 1/20/2016
Subject: Spindle Using Jogs and SoftLimits

Hi Tom,


I am using SpindleUsingJogs to run a spindle via a 3rd party C6 board, but there is an issue coming up with soft limits. In some cases the cumulative destination is exceeding the soft limits setting.


Is there a simple command I can insert into either the start or stop file for the spindlejog that will reset the spindle axis Dest to zero? We really don't need to keep track of the destination of that axis for any other purpose, so I thought if we zero it each time we start or stop, the soft limits should never trigger.


Thanks for your help,

David.

Group: DynoMotion Message: 12722 From: Tom Kerekes Date: 1/20/2016
Subject: Re: Spindle Using Jogs and SoftLimits
Hi David,

Strange, if the limits are set to +/- 1e30 that should take to the end of time to exceed.

But before starting the spindle you might issue a Zero(x); call to clear the Destination (and Position) back to zero.

HTH
Regards
TK

On 1/20/2016 7:03 AM, david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,


I am using SpindleUsingJogs to run a spindle via a 3rd party C6 board, but there is an issue coming up with soft limits. In some cases the cumulative destination is exceeding the soft limits setting.


Is there a simple command I can insert into either the start or stop file for the spindlejog that will reset the spindle axis Dest to zero? We really don't need to keep track of the destination of that axis for any other purpose, so I thought if we zero it each time we start or stop, the soft limits should never trigger.


Thanks for your help,

David.


Group: DynoMotion Message: 12723 From: David Stevenson Date: 1/20/2016
Subject: Re: Spindle Using Jogs and SoftLimits
Hi Tom,

I thought so too... until I saw it this morning. Maybe they haven't shut it down for an eternity or two.

Is there anyway to zero just the Destination?

Thank you,
David.

On 2016-01-20 12:43 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

Strange, if the limits are set to +/- 1e30 that should take to the end of time to exceed.

But before starting the spindle you might issue a Zero(x); call to clear the Destination (and Position) back to zero.

HTH
Regards
TK

On 1/20/2016 7:03 AM, david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,


I am using SpindleUsingJogs to run a spindle via a 3rd party C6 board, but there is an issue coming up with soft limits. In some cases the cumulative destination is exceeding the soft limits setting.


Is there a simple command I can insert into either the start or stop file for the spindlejog that will reset the spindle axis Dest to zero? We really don't need to keep track of the destination of that axis for any other purpose, so I thought if we zero it each time we start or stop, the soft limits should never trigger.


Thanks for your help,

David.



This email has been sent from a virus-free computer protected by Avast.
www.avast.com
Group: DynoMotion Message: 12724 From: Tom Kerekes Date: 1/20/2016
Subject: Re: Spindle Using Jogs and SoftLimits
Hi David,

To set the Destination to zero:

DisableAxis(x);  // (if not already)
EnableAxisDest(x,0.0);  // enable axis and set target Destination to zero

Although that normally wouldn't make sense for a closed loop system because a huge difference between the Position and Destination would cause either a Following Error or a violent servo response.  I suppose it would be ok for an open loop Step/Dir configuration.

Regards
TK




On 1/20/2016 10:01 AM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

I thought so too... until I saw it this morning. Maybe they haven't shut it down for an eternity or two.

Is there anyway to zero just the Destination?

Thank you,
David.

On 2016-01-20 12:43 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

Strange, if the limits are set to +/- 1e30 that should take to the end of time to exceed.

But before starting the spindle you might issue a Zero(x); call to clear the Destination (and Position) back to zero.

HTH
Regards
TK

On 1/20/2016 7:03 AM, david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,


I am using SpindleUsingJogs to run a spindle via a 3rd party C6 board, but there is an issue coming up with soft limits. In some cases the cumulative destination is exceeding the soft limits setting.


Is there a simple command I can insert into either the start or stop file for the spindlejog that will reset the spindle axis Dest to zero? We really don't need to keep track of the destination of that axis for any other purpose, so I thought if we zero it each time we start or stop, the soft limits should never trigger.


Thanks for your help,

David.



This email has been sent from a virus-free computer protected by Avast.
www.avast.com

Group: DynoMotion Message: 12725 From: David Stevenson Date: 1/20/2016
Subject: Re: Spindle Using Jogs and SoftLimits
Hi Tom,

That's perfect... thank you. I forgot to note previously that the config was an open loop S/D for this axis.

Thanks and best regards,
David.

On 2016-01-20 1:21 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

To set the Destination to zero:

DisableAxis(x);  // (if not already)
EnableAxisDest(x,0.0);  // enable axis and set target Destination to zero

Although that normally wouldn't make sense for a closed loop system because a huge difference between the Position and Destination would cause either a Following Error or a violent servo response.  I suppose it would be ok for an open loop Step/Dir configuration.

Regards
TK




On 1/20/2016 10:01 AM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

I thought so too... until I saw it this morning. Maybe they haven't shut it down for an eternity or two.

Is there anyway to zero just the Destination?

Thank you,
David.

On 2016-01-20 12:43 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

Strange, if the limits are set to +/- 1e30 that should take to the end of time to exceed.

But before starting the spindle you might issue a Zero(x); call to clear the Destination (and Position) back to zero.

HTH
Regards
TK

On 1/20/2016 7:03 AM, david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,


I am using SpindleUsingJogs to run a spindle via a 3rd party C6 board, but there is an issue coming up with soft limits. In some cases the cumulative destination is exceeding the soft limits setting.


Is there a simple command I can insert into either the start or stop file for the spindlejog that will reset the spindle axis Dest to zero? We really don't need to keep track of the destination of that axis for any other purpose, so I thought if we zero it each time we start or stop, the soft limits should never trigger.


Thanks for your help,

David.



This email has been sent from a virus-free computer protected by Avast.
www.avast.com


This email has been sent from a virus-free computer protected by Avast.
www.avast.com